#!/usr/bin/env python3
"""
视频理解分析工具 M0 启动脚本
"""
import uvicorn
from app.main import app
from app.config import settings
from app.utils.logger import logger

if __name__ == "__main__":
    logger.info("启动视频理解分析工具 M0")
    logger.info(f"服务地址: http://{settings.APP_HOST}:{settings.APP_PORT}")
    
    uvicorn.run(
        "app.main:app",
        host=settings.APP_HOST,
        port=settings.APP_PORT,
        reload=settings.DEBUG,
        log_level="info"
    )